package com.brillilab.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="brillilab.invite-code")
public class InviteCodeProperties {
    //验证码位数
    private int size;

    //验证码生成源
    private String source;

    /**
     * 每月发放邀请码数量
     */
    private Integer monthCodeCount;

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size=size;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source=source;
    }

    public Integer getMonthCodeCount() {
        return monthCodeCount;
    }

    public void setMonthCodeCount(Integer monthCodeCount) {
        this.monthCodeCount = monthCodeCount;
    }
}
